﻿using MvcApp01.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace MvcApp01.Context
{
    public class DataContext : DbContext
    {
        public DataContext() : base("DataContext")
        {
            //this.Configuration.LazyLoadingEnabled = false;
        }

        public DbSet<Empleado> Empleados { get; set; }
        public DbSet<Departamento> Departamentos { get; set; }
        
    }
}